﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using System.Web.Configuration;
using Vit.Common;
using Vit.Common.Extensions;
using Vit.Web;
using Vit.Web.Models;
using Vit.Web.Providers;
using Vit.Web.Mvc.Results;
using Vit.Web.Helpers;

namespace Vit.Site.Controllers
{
    public class HomeController : Vit.Web.Mvc.Controllers.ControllerBase
    {
        public ActionResult Index()
        {
            if (PortalContext.Current.Portal == null)
                return RedirectPermanent("/Install");
            return View();
        }
    }
}
